$(function () {
   $('.js-method-del').on('click',function () {
       var $del=$(this).closest(".weui-cells");
       $.confirm("您确定要删除该提现方式吗？", function() {
           //点击确认后的回调函数
           $del.remove();
       }, function() {
           //点击取消后的回调函数
           return true;
       });
   });
   $('.js-btn-withdrawals').on('click',function () {
      if(!$(this).hasClass("active")){
          $('.js-btn-withdrawals').removeClass("active");
          $(this).addClass("active");
          $('.js-input-withdrawals').val('');
      }
   });
   $('.js-input-withdrawals').bind('input propertychange',function () {
       $('.js-btn-withdrawals').removeClass("active");
   });
});